using System;

namespace JsonHTTPHandler
{
  [AttributeUsage(AttributeTargets.Class)]
  public class JsonServiceAttribute : Attribute
  {
    private bool ignoreUnderscoreParameters = false;

    public bool IgnoreUnderscoreParameters
    {
      get { return ignoreUnderscoreParameters; }
      set { ignoreUnderscoreParameters = value; }
    }
	
    public JsonServiceAttribute()
    {
    }

    public JsonServiceAttribute(bool ignoreUnderscoreParameters)
    {
      this.ignoreUnderscoreParameters = ignoreUnderscoreParameters;
    }
  }

  [AttributeUsage(AttributeTargets.Method)]
  public class JsonMethodAttribute : Attribute
  {
  }
}
